package AdapterPattern;

/**
 * @version: java version 1.8
 * @Author: Zheng
 * @description:
 * @date: 2022-08-14 11:20
 */
public class AdaterPatternDemo {
    public static void main(String[] args) {
        AudioPlayer audioPlayer = new AudioPlayer();

        audioPlayer.play("mp3","test.mp3");
        audioPlayer.play("mp4","test.mp4");
        audioPlayer.play("vlc","test.vlc");
        audioPlayer.play("avi","test.avi");
    }
}
